package com.iris.dubbo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@ImportResource({"classpath*:conf/spring.xml"})
@EnableApolloConfig
public class ProviderMain
{
    public static void main(String[] args) {
        System.setProperty("env","dev");
        SpringApplication.run(ProviderMain.class, args);
    }
}
